package com.xqboss.apps.dto.equipment;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.DecimalMin;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * 装备-熔炼模版
 *
 * @author makejava
 * @since 2024-03-01 14:41:23
 */
@Data
@ApiModel("装备-熔炼加速参数")
public class EquipmentSmeltSpeedUpDto {

    @ApiModelProperty(value = "用户id", hidden = true)
    private Long userId;

    @ApiModelProperty(value = "熔炼记录id")
    @NotNull
    private Long id;

    @ApiModelProperty(value = "消耗热豆")
    @NotNull
    @DecimalMin("0")
    private BigDecimal costIntegral;

    @ApiModelProperty(value = "加速分钟")
    @NotNull
    @Min(1)
    private Integer speedUpMinute;

}
